<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>文件上传</title>
</head>
<body>
<h1>文件上传</h1>
<form action="UploadServlet" method="post" enctype="multipart/form-data">
请选择一个文件：
<input type="file" name="uploadFile" />
<input type="submit" value="上传" />
</form>
</body>
</html>